From: Georges Basile Stavracas Neto Date: Sun, 30 May 2021 15:02:12 +0000 (-0300) Subject: workspaceAnimation: Allow long swipes in session X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~574^2^2~272 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=dfae3281b9a7fe6f5ccb6e9c175591a5ce31fd73;p=gnome-shell.git workspaceAnimation: Allow long swipes in session As per design feedback, allow long swipes in the session too. See https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3802#note_1124701 Part-of: --- diff --git a/js/ui/workspaceAnimation.js b/js/ui/workspaceAnimation.js index d240fe156..0eec196bc 100644 --- a/js/ui/workspaceAnimation.js +++ b/js/ui/workspaceAnimation.js @@ -287,6 +287,7 @@ var WorkspaceAnimationController = class { Clutter.Orientation.HORIZONTAL, Shell.ActionMode.NORMAL, { allowDrag: false }); + swipeTracker.allowLongSwipes = true; swipeTracker.connect('begin', this._switchWorkspaceBegin.bind(this)); swipeTracker.connect('update', this._switchWorkspaceUpdate.bind(this)); swipeTracker.connect('end', this._switchWorkspaceEnd.bind(this));